package org.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.common.UserWithChat;
import org.chen.dto.FindPasswordDto;
import org.chen.dto.LoginDto;
import org.chen.dto.RegisterDto;
import org.chen.dto.UpdatePasswordDto;
import org.chen.result.CommonResponse;
import org.chen.result.FindPasswordResponse;
import org.chen.result.LoginResponse;
import org.chen.result.RegisterResponse;

public interface UserWithChatService extends IService<UserWithChat> {
    RegisterResponse register(RegisterDto registerDto);

    LoginResponse login(LoginDto loginDto);

    CommonResponse delete(String objectId);

    CommonResponse updateUser(UserWithChat user);

    CommonResponse updatePassword(UpdatePasswordDto updatePasswordDto);

    FindPasswordResponse findPassword(FindPasswordDto findPasswordDto);

    CommonResponse changePassword(UpdatePasswordDto updatePasswordDto);

    CommonResponse getUserWithChatByName(UserWithChat userWithChat);
}
